var t = require("../../../../mybehaviors/location/location"), e = getApp();

Component({
    behaviors: [ t ],
    properties: {
        usClass: {
            type: Boolean,
            value: !1
        },
        isImg: {
            type: Boolean,
            value: !1
        },
        storeItem: {
            type: Object,
            value: {}
        },
        address: {
            type: String,
            value: ""
        }
    },
    options: {
        addGlobalClass: !0,
        multipleSlots: !0
    },
    data: {},
    methods: {
        navigation: function(t) {
            var a = t.currentTarget.dataset.latitude, o = t.currentTarget.dataset.longitude, r = t.currentTarget.dataset.storename, n = e.BMapTransqqMap(parseFloat(o), parseFloat(a));
            wx.openLocation({
                latitude: n.lat,
                longitude: n.lng,
                name: r,
                scale: 18
            });
        },
        callStore: function(t) {
            var e = t.currentTarget.dataset.phone;
            wx.makePhoneCall({
                phoneNumber: e
            });
        },
        storeNavigation: function(t) {
            var e = t.currentTarget.dataset.storeid;
            wx.navigateTo({
                url: "/packageF/consumption/commodity/commodity?storeId=" + e
            });
        }
    }
});